package com.ruoyi.permission.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 对返回给前端的权限进行封装
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class AllPermiInfo {
    private int userId;
    List<UnitPermiFuncInfo> func_permi;
    List<BaseBlockPermiDeviceInfo> device_permi;
//    List<SerInsectPermi> insect_permi;
}
